#ifndef GUANQIACHOOSE_H
#define GUANQIACHOOSE_H
#include "widget.h"
#include <QPixmap>
#include <QPainter>
#include <QPaintEvent>
#include <QDialog>
#include <QIcon>
#include <QMessageBox>

namespace Ui {
class guanQiaChoose;
}

class guanQiaChoose : public QDialog
{
    Q_OBJECT

public:
    explicit guanQiaChoose(Widget * mainWidget, QWidget *parent = 0);
    ~guanQiaChoose();
    Widget * mainWidget; //主窗口
    void initScene(); //初始化窗口

    QPixmap pix;
    QSound * play;
    int score;
signals:
    void sendMoShi();
public slots:
    void recScore(int score);
private slots:
    void on_guanQia1_clicked();

    void on_guanQia2_clicked();

    void on_guanQia3_clicked();

protected:
    void paintEvent(QPaintEvent *event);
private:
    Ui::guanQiaChoose *ui;
};

#endif // GUANQIACHOOSE_H
